package org.example.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.domain.Grow;
import org.example.dto.CropInHouseDto;
import org.example.dto.GrowDto;

import java.util.List;

/**
 * @author SweetPig
 * @description 针对表【sys_grow】的数据库操作Mapper
 * @createDate 2024-05-28 21:47:04
 * @Entity org.example.domain.Grow
 */
@Mapper
public interface GrowMapper {

    void logCrop(GrowDto growLogDto);


    List<Grow> growList(Integer id);

    Integer getGrowStatus(CropInHouseDto cropInHouseDto);
}




